package Question;

public class Q39_Phone {

	private String maker;
	private int price;
	private String commtype;
	
	public Q39_Phone() {
		maker = null;
		price = 0;
		commtype = null;
	}
	public Q39_Phone(String maker, int price, String commtype) {
		this.maker = maker;
		this.price = price;
		this.commtype = commtype;
	}

	public void setMaker(String maker) { this.maker = maker; }
	public void setPrice(int price) { this.price = price; }
	public void setCommtype(String commtype) { this.commtype = commtype; }
	public String getMaker() { return maker; }
	public int getPrice() { return price; }
	public String getCommtype() { return commtype; }
}